package cn.shuangbofu.guice.test;

import com.google.inject.Inject;
import com.google.inject.Singleton;

/**
 * Created by shuangbofu on 2020-04-17 14:43
 */
@Singleton
public class SomeManager {
    private String name;

    @Inject
    private void init(@GuiceDemo.Message String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
